home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_C_r_e_a_t_e_S_i_m_p_l_e_O_p_t_i_o_n_M_e_n_u - A RowColumn widget convenience
- creation function
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/RowColumn.h>
-
- Widget XmCreateSimpleOptionMenu (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
- _W_i_d_g_e_t ppppaaaarrrreeeennnntttt;
- _S_t_r_i_n_g nnnnaaaammmmeeee;
- _A_r_g_L_i_s_t aaaarrrrgggglllliiiisssstttt;
- _C_a_r_d_i_n_a_l aaaarrrrggggccccoooouuuunnnntttt;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_C_r_e_a_t_e_S_i_m_p_l_e_O_p_t_i_o_n_M_e_n_u creates an instance of a RowColumn
- widget of type _X_m_M_E_N_U__O_P_T_I_O_N and returns the associated
- widget ID.
-
- This routine creates an Option Menu and its submenu
- containing PushButtonGadget or CascadeButtonGadget children.
- The name of each button is button_nnnn, where nnnn is an integer
- from 0 to one minus the number of buttons in the menu. The
- name of each separator is separator_nnnn, where nnnn is an integer
- from 0 to one minus the number of separators in the menu.
- Buttons and separators are named and created in the order in
- which they are specified in the RowColumn simple menu
- creation resources supplied in the argument list.
-
- ppppaaaarrrreeeennnntttt
- Specifies the parent widget ID
-
- nnnnaaaammmmeeee Specifies the name of the created widget
-
- aaaarrrrgggglllliiiisssstttt
- Specifies the argument list
-
- aaaarrrrggggccccoooouuuunnnntttt
- Specifies the number of attribute/value pairs in the
- argument list (aaaarrrrgggglllliiiisssstttt)
-
- The user can specify resources in a resource file for the
- automatically created widgets and gadgets of an OptionMenu.
- The following list identifies the names of these widgets (or
- gadgets) and the associated OptionMenu areas.
-
- +o
-
- +o Option Menu Label Gadget - "OptionLabel"
-
- +o Option Menu Cascade Button - "OptionButton"
-
- A number of resources exist specifically for use with this
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXX))))
-
-
-
- and other simple menu creation routines. The only button
- types allowed in the _X_m_N_b_u_t_t_o_n_T_y_p_e resource are
- _X_m_P_U_S_H_B_U_T_T_O_N, _X_m_C_A_S_C_A_D_E_B_U_T_T_O_N, _X_m_S_E_P_A_R_A_T_O_R, and
- _X_m_D_O_U_B_L_E__S_E_P_A_R_A_T_O_R. For a complete definition of RowColumn
- and its associated resources, see _X_m_R_o_w_C_o_l_u_m_n(_3_X).
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- Returns the RowColumn widget ID.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_C_r_e_a_t_e_O_p_t_i_o_n_M_e_n_u(_3_X), _X_m_C_r_e_a_t_e_R_o_w_C_o_l_u_m_n(_3_X),
- _X_m_R_o_w_C_o_l_u_m_n(_3_X), and _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_O_p_t_i_o_n_M_e_n_u(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-